package org.zfes.snowier.cloud.zbss.metting.biz.dto;
import java.io.Serializable;

public class SignupModelItemUpdateDto  implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public SignupModelItemUpdateDto() {}
	public SignupModelItemUpdateDto(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	private Long id;
	@javax.validation.constraints.NotBlank(message="字段不能为空")
	@javax.validation.constraints.NotNull(message="字段不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="字段长度不能大于50")
	  private java.lang.String fieldName;
	@javax.validation.constraints.NotBlank(message="名称不能为空")
	@javax.validation.constraints.NotNull(message="名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="名称长度不能大于100")
	  private java.lang.String fieldLabel;

	@javax.validation.constraints.NotNull(message="数据类型:D#1:字符串文本;2:整型文本;3:浮点型文本;4:文本区;5:日期;6:下拉列表;7:复选框;8:单选框;9:附件;10:图片#不能为空")
	  private java.lang.Byte editType;
 

	@javax.validation.constraints.NotNull(message="排列顺序不能为空")
	  private java.lang.Integer sortNum;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="默认值长度不能大于255")
	  private java.lang.String defaultValue;
 
	@org.hibernate.validator.constraints.Length(min=0,max=1000,message="可选项长度不能大于1,000")
	  private java.lang.String optionValue;
 

	  private java.lang.Integer textLen;
	@org.hibernate.validator.constraints.Length(min=0,max=3,message="文本行数长度不能大于3")
	  private java.lang.String areaRows;
 
	@org.hibernate.validator.constraints.Length(min=0,max=3,message="文本列数长度不能大于3")
	  private java.lang.String areaCols;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="帮助信息长度不能大于255")
	  private java.lang.String help;
 
	@org.hibernate.validator.constraints.Length(min=0,max=1,message="帮助位置长度不能大于1")
	  private java.lang.String helpPosition;
 

	  private java.lang.Byte isSingleLine;
	@javax.validation.constraints.NotNull(message="是否必填项不能为空")
	  private java.lang.Byte isRequired;
 

	@javax.validation.constraints.NotNull(message="是否自定义不能为空")
	  private java.lang.Byte isCustom;
 
	
	//<-------------------------------------------->

	public SignupModelItemUpdateDto setFieldName(java.lang.String fieldName){
		this.fieldName=fieldName==null?null:fieldName.trim();
	 return this;
	}
	public java.lang.String getFieldName(){
		return this.fieldName;
	}
	public SignupModelItemUpdateDto setFieldLabel(java.lang.String fieldLabel){
		this.fieldLabel=fieldLabel==null?null:fieldLabel.trim();
	 return this;
	}
	public java.lang.String getFieldLabel(){
		return this.fieldLabel;
	}
	public SignupModelItemUpdateDto setEditType(java.lang.Byte editType){
	 this.editType=editType;
	 return this;
	}
	public java.lang.Byte getEditType(){
		return this.editType;
	}
	public SignupModelItemUpdateDto setSortNum(java.lang.Integer sortNum){
	 this.sortNum=sortNum;
	 return this;
	}
	public java.lang.Integer getSortNum(){
		return this.sortNum;
	}
	public SignupModelItemUpdateDto setDefaultValue(java.lang.String defaultValue){
		this.defaultValue=defaultValue==null?null:defaultValue.trim();
	 return this;
	}
	public java.lang.String getDefaultValue(){
		return this.defaultValue;
	}
	public SignupModelItemUpdateDto setOptionValue(java.lang.String optionValue){
		this.optionValue=optionValue==null?null:optionValue.trim();
	 return this;
	}
	public java.lang.String getOptionValue(){
		return this.optionValue;
	}
	public SignupModelItemUpdateDto setTextLen(java.lang.Integer textLen){
	 this.textLen=textLen;
	 return this;
	}
	public java.lang.Integer getTextLen(){
		return this.textLen;
	}
	public SignupModelItemUpdateDto setAreaRows(java.lang.String areaRows){
		this.areaRows=areaRows==null?null:areaRows.trim();
	 return this;
	}
	public java.lang.String getAreaRows(){
		return this.areaRows;
	}
	public SignupModelItemUpdateDto setAreaCols(java.lang.String areaCols){
		this.areaCols=areaCols==null?null:areaCols.trim();
	 return this;
	}
	public java.lang.String getAreaCols(){
		return this.areaCols;
	}
	public SignupModelItemUpdateDto setHelp(java.lang.String help){
		this.help=help==null?null:help.trim();
	 return this;
	}
	public java.lang.String getHelp(){
		return this.help;
	}
	public SignupModelItemUpdateDto setHelpPosition(java.lang.String helpPosition){
		this.helpPosition=helpPosition==null?null:helpPosition.trim();
	 return this;
	}
	public java.lang.String getHelpPosition(){
		return this.helpPosition;
	}
	public SignupModelItemUpdateDto setIsSingleLine(java.lang.Byte isSingleLine){
	 this.isSingleLine=isSingleLine;
	 return this;
	}
	public java.lang.Byte getIsSingleLine(){
		return this.isSingleLine;
	}
	public SignupModelItemUpdateDto setIsRequired(java.lang.Byte isRequired){
	 this.isRequired=isRequired;
	 return this;
	}
	public java.lang.Byte getIsRequired(){
		return this.isRequired;
	}
	public SignupModelItemUpdateDto setIsCustom(java.lang.Byte isCustom){
	 this.isCustom=isCustom;
	 return this;
	}
	public java.lang.Byte getIsCustom(){
		return this.isCustom;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}


}
